package com.sky.loveshop.service;

import com.github.pagehelper.PageInfo;
import com.sky.loveshop.entity.OrderInfo;
import com.sky.loveshop.entity.aliPay.NotifyMessage;
import com.sky.loveshop.entity.qo.OrderInfoQO;
import com.sky.loveshop.entity.vo.OrderInfoVO;

import java.util.List;

/**
 * @author xcy
 * @version V1.0
 * @description
 * @date 2024/9/1 2:14
 */
public interface OrderInfoService {

    List<OrderInfoVO> listOrderInfo(OrderInfoQO orderInfoQO);

    PageInfo<OrderInfoVO> listOrderInfoPages(OrderInfoQO orderInfoQO);

    OrderInfoVO getOrderInfoById(Integer id);

    Integer addOrderInfo(OrderInfo orderInfo);

    Integer delOrderInfoById(Integer id);

    Integer updateOrderInfoById(OrderInfo orderInfo);

    List<OrderInfo> getOrderInfoListByIds(List<Integer> shopIds);

    void updateOrderInfoByOutTradeNo(NotifyMessage msg);

    void updateOrderStatus(OrderInfo orderInfo);

    OrderInfo getOrderInfoByOrderNo(String orderNo);

    void updateOrderQueryTimes(String orderNo);

    List<OrderInfo> getUnPayOrderList();



}
